package com.qf.j2105.attendance.mapper;

import com.qf.j2105.po.PunchingRecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PunchingMapper {
    //打卡，添加打卡时间
    int addPunching(PunchingRecord punchingRecord);
    //更新下班打卡时间
    int updatePunching(PunchingRecord punchingRecord);
    //查询指定时间打卡记录
    List<PunchingRecord> findPunchingsByDate(@Param("eid")int eid, @Param("pday") int pday);
    //查询当日打卡次数
    int countPunching(@Param("eid") int eid, @Param("pday") int pday);
}
